[INFO] cloning repository https://github.com/rome/newfmt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rome/newfmt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frome%2Fnewfmt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frome%2Fnewfmt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2cc7dfaf64df8157fd69638d74977830ee477613
[INFO] checking rome/newfmt against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frome%2Fnewfmt" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rome/newfmt on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rome/newfmt
[INFO] finished tweaking git repo https://github.com/rome/newfmt
[INFO] tweaked toml for git repo https://github.com/rome/newfmt written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/rome/newfmt already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 950c10827565047735aab30b863ef5901263f1a4f41240275af988df78c9224d
[INFO] running `Command { std: "docker" "start" "-a" "950c10827565047735aab30b863ef5901263f1a4f41240275af988df78c9224d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "950c10827565047735aab30b863ef5901263f1a4f41240275af988df78c9224d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "950c10827565047735aab30b863ef5901263f1a4f41240275af988df78c9224d", kill_on_drop: false }`
[INFO] [stdout] 950c10827565047735aab30b863ef5901263f1a4f41240275af988df78c9224d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d4ee2c9e5131f00c6c508ec51f879c557d95018a9fb3a83f8e7c6ad50fcb4ff
[INFO] running `Command { std: "docker" "start" "-a" "8d4ee2c9e5131f00c6c508ec51f879c557d95018a9fb3a83f8e7c6ad50fcb4ff", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking newfmt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `Number` is never constructed
[INFO] [stdout]    --> src/main.rs:177:5
[INFO] [stdout]     |
[INFO] [stdout] 175 | enum JsonValue {
[INFO] [stdout]     |      --------- variant in this enum
[INFO] [stdout] 176 |     Array(Vec<JsonValue>),
[INFO] [stdout] 177 |     Number(i64),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:293:42
[INFO] [stdout]     |
[INFO] [stdout] 293 |         pretty_print_format_element(200, doc.clone())
[INFO] [stdout]     |         ---------------------------      ^^^^^^^^^^^ expected struct `Rc`, found enum `FormatElement`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Rc<FormatElement>`
[INFO] [stdout]                  found enum `FormatElement`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:171:4
[INFO] [stdout]     |
[INFO] [stdout] 171 | fn pretty_print_format_element(width: usize, x: Rc<FormatElement>) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^               --------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:298:41
[INFO] [stdout]     |
[INFO] [stdout] 298 |         pretty_print_format_element(50, doc)
[INFO] [stdout]     |         ---------------------------     ^^^ expected struct `Rc`, found enum `FormatElement`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Rc<FormatElement>`
[INFO] [stdout]                  found enum `FormatElement`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:171:4
[INFO] [stdout]     |
[INFO] [stdout] 171 | fn pretty_print_format_element(width: usize, x: Rc<FormatElement>) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^               --------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `newfmt` due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "8d4ee2c9e5131f00c6c508ec51f879c557d95018a9fb3a83f8e7c6ad50fcb4ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d4ee2c9e5131f00c6c508ec51f879c557d95018a9fb3a83f8e7c6ad50fcb4ff", kill_on_drop: false }`
[INFO] [stdout] 8d4ee2c9e5131f00c6c508ec51f879c557d95018a9fb3a83f8e7c6ad50fcb4ff
